package com.ruoyi.eamp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 列表对象 eamp_duty_list
 *
 * @author ruoyi
 * @date 2024-08-14
 */
public class EampDutyList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 值班id */
    private Long dutyId;

    /** 值班名称 */
    @Excel(name = "值班名称")
    private String dutyName;

    /** 排班选择 */
    @Excel(name = "排班选择")
    private String dutyChoose;

    /** 值班开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "值班开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dutyBegin;

    /** 值班结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "值班结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dutyEnd;

    public Long getClassManageId() {
        return classManageId;
    }

    public void setClassManageId(Long classManageId) {
        this.classManageId = classManageId;
    }

    public int getClassCreatePeople() {
        return classCreatePeople;
    }

    public void setClassCreatePeople(int classCreatePeople) {
        this.classCreatePeople = classCreatePeople;
    }

    private int classCreatePeople;
    private Long classManageId;
    /** 备注 */
    @Excel(name = "备注")
    private String dutyRemark;

    /** 值班人 */
    @Excel(name = "值班人")
    private Long classWatchman;

    /** 状态 */
    @Excel(name = "状态")
    private Long classState;

    /** 删除 */
    @Excel(name = "删除")
    private Long delFlg;

    /** 中间表id */
    @Excel(name = "中间表id")
    private Long dateId;

    public void setDutyId(Long dutyId)
    {
        this.dutyId = dutyId;
    }

    public Long getDutyId()
    {
        return dutyId;
    }
    public void setDutyName(String dutyName)
    {
        this.dutyName = dutyName;
    }

    public String getDutyName()
    {
        return dutyName;
    }
    public void setDutyChoose(String dutyChoose)
    {
        this.dutyChoose = dutyChoose;
    }

    public String getDutyChoose()
    {
        return dutyChoose;
    }
    public void setDutyBegin(Date dutyBegin)
    {
        this.dutyBegin = dutyBegin;
    }

    public Date getDutyBegin()
    {
        return dutyBegin;
    }
    public void setDutyEnd(Date dutyEnd)
    {
        this.dutyEnd = dutyEnd;
    }

    public Date getDutyEnd()
    {
        return dutyEnd;
    }
    public void setDutyRemark(String dutyRemark)
    {
        this.dutyRemark = dutyRemark;
    }

    public String getDutyRemark()
    {
        return dutyRemark;
    }
    public void setClassWatchman(Long classWatchman)
    {
        this.classWatchman = classWatchman;
    }

    public Long getClassWatchman()
    {
        return classWatchman;
    }
    public void setClassState(Long classState)
    {
        this.classState = classState;
    }

    public Long getClassState()
    {
        return classState;
    }
    public void setDelFlg(Long delFlg)
    {
        this.delFlg = delFlg;
    }

    public Long getDelFlg()
    {
        return delFlg;
    }
    public void setDateId(Long dateId)
    {
        this.dateId = dateId;
    }

    public Long getDateId()
    {
        return dateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("dutyId", getDutyId())
                .append("dutyName", getDutyName())
                .append("dutyChoose", getDutyChoose())
                .append("dutyBegin", getDutyBegin())
                .append("dutyEnd", getDutyEnd())
                .append("dutyRemark", getDutyRemark())
                .append("classWatchman", getClassWatchman())
                .append("classState", getClassState())
                .append("delFlg", getDelFlg())
                .append("dateId", getDateId())
                .toString();
    }
}
